package com.uenpay.oem.ui.reserver;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.uenpay.oem.R;
import com.uenpay.oem.common.RxBusEventConstant;
import com.uenpay.oem.ui.main.MainActivity;
import com.uenpay.oem.ui.main.my.MyFragment;
import com.uenpay.util.app.base.BaseActivity;
import com.uenpay.util.rx.CommonEvent;
import com.uenpay.util.rx.RxBus;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by PS on 2017/6/19.
 */
public class RechargesucceedActivity extends BaseActivity {

    @BindView(R.id.tv_amount)
    TextView tvAmount;
    @BindView(R.id.tv_bank_name)
    TextView tvBankName;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent intent = getIntent();
        String amount = intent.getStringExtra("amount");
        String bankName = intent.getStringExtra("bankName");
        tvAmount.setText("￥"+amount);
        tvBankName.setText(bankName);
    }

    @Override
    public View bindView() {
        return null;
    }

    @Override
    public int bindLayout() {
        return R.layout.item_dialogsucceed;
    }

    @Override
    public void initView(View view) {

    }

    @OnClick(R.id.btn_complete)
    public void complete(){
        //startActivity(new Intent(this, MainActivity.class));
        finish();
    }
}

